package com.gmu.mapper;

import com.gmu.pojo.TblMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-07-24
 */
public interface TblMenuMapper extends BaseMapper<TblMenu> {

    List<TblMenu> getMenusByAdminId(@Param("id") Integer id);

    List<String> getPermsByAdminId(@Param("id") Integer id);

    List<String> getPermsByUserId(@Param("id") Integer id);
}
